<div class="p-0 coverage-wrapper coverage-json-wrapper {{ @$class }}">{{-- coverage-wrapper coverage-json-wrapper--}}
    <table class="table table-s3 coverage-table text-nowrap align-top ">
        <thead>
        <tr>
            <th style="width: 20%">{{ ts('ZTBW') }}</th>
            <th style="width: 20%">{{ ts('ROLLNUMBER') }}</th>
            <th style="width: 10%">{{ ts('ylcd2') }}</th>
            <th style="width: 10%">{{ ts('MXH') }}</th>
            {{--<th style="width: 10%">{{ ts('FILMWIDTH') }}</th>--}}
            <th style="width: 10%">{{ ts('PRECUTORMANUAL') }}</th>
            <th style="width: 10%"></th>
        </tr>
        </thead>
        <tbody></tbody>
    </table>
    @empty(@$is_precut)
        <div class="my-5 pl-5">
            <button type="button" class="btn btn-info add-more">{{ ts('addmore') }}</button>
        </div>
    @else
    @endif
</div>

<script>
    @php
        $oldPart = ['part'=>old('part'), 'roll_number'=>old('roll_number'), 'length'=>old('length'), 'film_type_id'=>old('film_type_id') ?: [], 'width'=>old('width') ?: []];
    @endphp
        window.coverage_items_obj = @json(@$coverages);
    console.log(coverage_items_obj);
    window.coverage_items_arr = @json($oldPart);
    window.coverage_items_readonly = {{ @$is_precut ? '1' : '0' }};
    window.ISPRECUT = {{ @$isprecut ? '1' : '0' }};
</script>